bin\openssl.exe dsaparam -out dsa_param.pem 1024
bin\openssl.exe gendsa -out dsa_private_key.pem dsa_param.pem
bin\openssl.exe pkcs8 -topk8 -inform PEM -in dsa_private_key.pem -outform PEM -nocrypt -out dsa_private_key_pkcs8.pem
bin\openssl.exe dsa -in dsa_private_key_pkcs8.pem -pubout -out dsa_public_key.pem